package com.aos.erp.schools.service.registerschool;


import com.aos.erp.common.bean.IPageBean;
import com.aos.erp.common.bean.ResultEntity;
import com.aos.erp.schools.model.registerschool.entity.RegisterSchool;
import com.aos.erp.schools.model.registerschool.ro.RegisterSchoolRo;
import com.aos.erp.schools.model.registerschool.ro.UpdateRegisterSchoolRo;
import com.aos.erp.schools.model.registerschool.vo.ListRegisterSchoolVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 省市对应分所 服务类
 * </p>
 *
 * @author chb
 * @since 2018-10-31
 */
public interface RegisterSchoolService extends IService<RegisterSchool> {

	int addRegister(RegisterSchoolRo registerSchoolRo) throws Exception;

	ResultEntity deleteRegister(Long id);

	ResultEntity registerInfo(Long id);

	ResultEntity updateRegister(UpdateRegisterSchoolRo registerSchoolRo);

	IPageBean queryByPage(Integer pageIndex, Integer pageSize, String name,String currentUserId) throws Exception;
}
